package edu.hnu.cloudflightserver.util;

import java.io.IOException;
import java.io.PrintWriter;

import javax.servlet.http.HttpServletResponse;

public class ServletUtil {

	
	public static void responseJson(HttpServletResponse resp,String json) throws IOException{
		PrintWriter pw = resp.getWriter();
		pw.write(json);
		pw.flush();
		pw.close();
	}
}
